#pragma once
#include <iostream>

template<typename T>
void printContainer(const T& container)
{
    for(auto& e : container)
    {
        std::cout << e << std::endl;
    }
}

template<typename T>
void printContainerOptional(const T& container)
{
    for(auto& e : container)
    {
        if(e)
            std::cout << e.value() << std::endl;
    }
}